<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="yes" name="apple-mobile-web-app-capable" /> 
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/css.css" />
<link type="text/css" rel="stylesheet" href="/static/mobile/css/play_withdraw.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/layout.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/common.css" />
<title><?php echo CON_WEBNAME;?></title>
<script>
function clearText(input){
	if(input.value=='请输入提现金额'){
		input.value="";
	}
}
function changepaypwd(input){
	if(input.value=='交易密码'){
		input.type="password";
		input.value="";
	}
}
function formSubmit(){
	document.getElementById("cash_form").submit();
}
</script>
</head>

<body>
<!--头部开始-->
<div class="top">
<!--	<img src="/static/mobile/images/ychapplogo.png">-->
    账号提现
    <a href="javascript:history.go(-1)" class="new-a-back">
    	<span>返回</span>
    </a>
</div>
<!--头部结束-->

<!--主体内容开始-->
<div class="money-list qjys">
<form id="cash_form" method="post" action="/mobile/cash/submit">
	<div class="my-ac">
		<input type="text" class="txt" value="<?php echo strdisplay($user['realname'], 1); ?> <?php echo $bank_list[$bank['bank']]; ?> <?php echo strdisplay($bank['account'],4); ?>" readonly="true" />
		<input type="text" class="txt" id="money" name="money" style="margin-top:15px; color:#999999;" value="请输入提现金额" onfocus="clearText(this);"/>
	</div>
    <div class="ktxe">
    	<p>可用余额：<span style="color:#ff6600;"><?php echo number_format($account['use_money'],2); ?></span>元</p>
		<p>可免费提现金额：<span style="color:#ff6600;"><?php echo number_format($cash_fee,2); ?></span>元</p>
		<p>每笔限额：<span>1000000</span>元</p>
	</div>
	<?php if($user['paypassword'] != ''){?>
	<div class="srmm">
	<input type="text" class="txt" id="paypwd" name="paypwd" style="color:#999999;" value="交易密码" onfocus="changepaypwd(this);"/>
	</div>
	<div class="tjcz">
		<a href="javascript:formSubmit();" class="tjcz-an">申请提现</a>
	</div>
	<?php }else{?>
	<div class="tb-btn" style="margin-top:30px;"><a href="/mobile/paypwd.html">设置支付密码</a></div>
	<?php }?>
</form>
</div>
<!--主体内容结束-->

<!--底部信息开始-->
<footer class="bottom-nav">
	<ul class="ulnav">
    	<li><a href="/mobile/borrow/index.html"><span class="icon lc"></span>
        <span>我要理财</span>
        </a></li>
    	<li class="active"><a href="/mobile/ucenter/index.html"><span class="icon zh"></span>
        <span>我的账号</span>
        </a></li>
    	<li><a href="/mobile/account/account_list.html"><span class="icon jy"></span>
        <span>交易记录</span>
        </a></li>
    	<li><a href="/mobile/notices/index.html"><span class="icon sm"></span>
        <span>公告说明</span>
        </a></li>
    </ul>
</footer>
<div style="display:none;">
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fbddfbd985badab4bfe8fee07203cc21e' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://s11.cnzz.com/stat.php?id=4565714&web_id=4565714&show=pic" language="JavaScript"></script>
</div>
<!--底部信息结束-->
</body>
</html>
